package com.qk.service;

import com.qk.common.PageResult;
import com.qk.dto.ActivityDto;
import com.qk.entity.Activity;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ActivityService {

    PageResult<Activity> selectActivityList(ActivityDto activityDto);

    void deleteActivityById(Integer id);

    void addActivity(Activity activity);


    Activity selectActivityById(Integer id);

    void updateActivity(Activity activity);

    List<Activity> selectActivityByType(Integer type);
}
